package com.blog4j.server.modules.sms.properties;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.context.annotation.PropertySource;
import org.springframework.stereotype.Component;

/**
 * @author 98k灬
 * @version v1.0.0
 * @Description : 功能描述
 * @Create on : 2024/7/27 18:07
 **/
@Data
@Component
@ConfigurationProperties(prefix = "sms")
@PropertySource(value = "classpath:/config/sms.properties")
public class SmsProperties {
    private String smsUrl;
    private String smsToken;
    private String username;
    private String password;
    private String templateId;
}
